import request from '../utils/request'

//获取物资列表
export const getGoodsList = data => request.get('/wq/zuwuzhi/list', data)
// 查询组物资使用列表 
export const getUseGoodsList = data => request.get('/wq/zuwuzhishiyongjilu/list', data)
// 普通物资查询
export const getGoods = data => request.get('/wq/wuzhi/list', data)
// 患者查看物资申请记录
export const recording = data => request.get('/wq/huanzhewuzhi/hzId', data)
// 物资申领
export const Claim = data => request.post('/wq/huanzhewuzhi/addwz', data)
// 申请记录
export const Records = data => request.get('/wq/wuzhipici/getdeptwzsq', data)
// 组物资请领
export const groupClaim = data => request.post('/wq/zuwuzhi', data)
// 完成
export const finish = data => request.post('/wq/yizhu/wcyz', data)
// 作废
export const waste = data => request.post('/wq/yizhu/zfyz', data)
// 停止
export const StopIt = data => request.post('/wq/yizhu/tzyz', data)
// 物资盘点
export const InventoryGoods = data => request.post('/wq/wuzhi/zpd', data)
// 物资盘点记录
export const InventoryRecords = data => request.get('/wq/wuzhi/zpdjllist?wzId='+ data)

